/************************************************************************
  Driver for the weight sensor MP40 and for the signal amplifier AD8555.                                                               
************************************************************************/

int16_t WeightRead();
void WeightSensorInit();
// Returns the weight filtered but not calibrated
uint16_t WeightNoCalibrated();
// Updates the ADC value when the container is empty
void WeightCalibrationUpdate();

// Sets the AD8555 first stage gain
void setFirstStageGain(uint8_t gain);

// For debugging purposes
void ShowWeight();
